/* 
 * File:   DecoderFactroy.h
 * Author: hao
 *
 * Created on 2011年4月14日, 下午9:37
 */

#ifndef DECODERFACTROY_H
#define	DECODERFACTROY_H

#include <vector>

#include "Decoder.h"

using std::vector;

class DecoderFactroy {
public:
    DecoderFactroy();
    virtual ~DecoderFactroy();
    
    int addDecoder( const char * path );
    
    void Destroy();

    Decoder * getDecoder( unsigned index );

private:

    DecoderFactroy(const DecoderFactroy&){}

    vector< Decoder * > pvDecoder;

};

#endif	/* DECODERFACTROY_H */

